﻿using MongoDB.Driver;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo.Net.MongoDB
{
    public class MongoDBCom
    {
        #region 构造函数

        private readonly IMongoDatabase _mongoDatabase;

        public IMongoDatabase mongoDatabase { get => _mongoDatabase; }

        public MongoDBCom(IMongoDatabase mongoDatabase)
        {
            _mongoDatabase = mongoDatabase;
        }

        #endregion
    }


}
